package com.nine.entity;



/**
 * Item entity. @author MyEclipse Persistence Tools
 */

public class Item  implements java.io.Serializable {


    // Fields    

     private Integer itemId;
     private String itemName;
     private Integer categoryId;
     private Integer discount;
     private String descripition;
     private String photoPath;
     private Double marketPrice;
     private Integer quantity;


    // Constructors

    /** default constructor */
    public Item() {
    }

	/** minimal constructor */
    public Item(String itemName, Integer categoryId, Double marketPrice, Integer quantity) {
        this.itemName = itemName;
        this.categoryId = categoryId;
        this.marketPrice = marketPrice;
        this.quantity = quantity;
    }
    
    /** full constructor */
    public Item(String itemName, Integer categoryId, Integer discount, String descripition, String photoPath, Double marketPrice, Integer quantity) {
        this.itemName = itemName;
        this.categoryId = categoryId;
        this.discount = discount;
        this.descripition = descripition;
        this.photoPath = photoPath;
        this.marketPrice = marketPrice;
        this.quantity = quantity;
    }

   
    // Property accessors

    public Integer getItemId() {
        return this.itemId;
    }
    
    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return this.itemName;
    }
    
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getCategoryId() {
        return this.categoryId;
    }
    
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getDiscount() {
        return this.discount;
    }
    
    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public String getDescripition() {
        return this.descripition;
    }
    
    public void setDescripition(String descripition) {
        this.descripition = descripition;
    }

    public String getPhotoPath() {
        return this.photoPath;
    }
    
    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public Double getMarketPrice() {
        return this.marketPrice;
    }
    
    public void setMarketPrice(Double marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Integer getQuantity() {
        return this.quantity;
    }
    
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
   








}